package sq.service;

import sq.dao.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: sunquan
 * @Date: 2018/5/8
 * @Time: 12:40
 */
public interface UserService {
    List<User> findAllUsers();

    List<User> findSearchUser(String userInfo, String userInfo1);

    User findUser(Integer userId);

    void updateUser(Integer userId, String username,  String password);

    void deleteUser(Integer userId);
}
